how to check code quality